<?php
// +----------------------------------------------------------------------
// | OneKeyAdmin [ Believe that you can do better ]
// +----------------------------------------------------------------------
// | Copyright (c) 2020-2023 http://onekeyadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: MUKE <513038996@qq.com>
// +----------------------------------------------------------------------
namespace plugins\form\api\validate;

use think\Validate;

class Submit extends Validate
{
    protected $rule = [
        'id'         => 'require',
        'content'    => 'require',
    ];
    protected $message = [
        'id.require'       => 'id不能为空',
        'content.require'  => '内容不能为空',
    ];
}